package com.cs2.volunteerpostbackend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cs2.volunteerpostbackend.po.Comment;
import com.cs2.volunteerpostbackend.web.dto.comment.AddComment;
import com.cs2.volunteerpostbackend.web.vo.comment.CommentByPage;

import java.util.List;

public interface CommentService extends IService<Comment> {

    boolean addComment(AddComment addComment) ;
    boolean delComment(String id) ;
    List<CommentByPage> getCommentPage(String momentId, int page, int size);
}
